You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TMtxVec Class > TMtxVec Methods > Rem Method > TMtxVec.Rem Method ([In] TMtxVec, [In] double, int, int, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TMtxVec.Rem Method ([In] TMtxVec, [In] double, int, int, int)

Calculates reminder after division X/Y.

Syntax
C#
Visual Basic
public TMtxVec Rem([In] TMtxVec X, [In] double Y, int XIndex, int Index, int Len);

Reminder is calculated by using the following formula: 

x[i]-y*Trunc(x[i]/y). 

X must be a real. The results will be saved to the calling vector. An exception will be raised if TMtxVecBase.ConditionCheckConditionCheckis True and array borders are overrun.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!